# 2. Product installation ### Part 1 **Components Needed** ![](media/wps1.jpg) **Installation Diagram** ![](media/wps2.jpg) **Prototype** ![](media/wps3.jpg) ### Part 2 **Components Needed** ![](media/wps4.jpg) **Installation Diagram** ![](media/wps5.jpg) **Prototype** ![](media/wps6.jpg) ### Part 3 **Components Needed** ![](media/wps7.png) **Installation Diagram** ![](media/wps8.jpg) **Prototype** ![](media/wps9.jpg) ### Part 4 **Set the angle of the servo to 90°** | Servo | Expansion Board | | ------ | --------------- | | Brown | G | | Red | 5V | | Yellow | D9 | To adjust the code of the servo,please select it according to the course. 1.**Arduino:**Download the code file:[Arduino](./Arduino.7z) 2.**Kidsblock:**Download the code file:[Kidsblock](./Kidsblock.7z) **Components Needed** ![](media/wps10.jpg) **Installation Diagram(mind the installation direction)** ![](media/wps11.jpg) **Prototype** ![](media/wps12.jpg) ### Part 5 **Components Needed** ![](media/wps13.jpg) **Installation Diagram** ![](media/wps14.jpg) **Prototype** ![](media/wps15.jpg) ### Part 6 **Components Needed** ![](media/wps16.jpg) **Installation Diagram** ![](media/wps17.jpg) **Prototype** ![](media/wps18.jpg) ### Part 7 **Components Needed** ![](media/wps19.jpg) **Installation Diagram(mind the direction of the motor)** ![](media/wps20.jpg) **Prototype** ![](media/wps21.jpg) ### Part 8 **Components Needed** ![](media/wps22.jpg) **Installation Diagram** **(Pay attention to the installation direction of the mecanum wheels)** ![](media/wps23.jpg) **Prototype** ![](media/wps24.jpg) ### Part 9 **Components Needed** ![](media/wps25.jpg) **Installation Diagram** ![](media/wps26.jpg) **Prototype** ![](media/wps27.jpg) ### Part 10 **Components Needed** ![](media/wps28.jpg) **Installation Diagram** ![](media/wps29.jpg) **Prototype** ![](media/wps30.jpg) **Insert a Bluetooth module** ![](media/wps31.jpg) ### Wiring Diagram **The wiring of the ultrasonic module** | ultrasonic | Sensor expansion board | | ---------- | ---------------------- | | Vcc | V | | Trig | D12 | | Echo | D13 | | Gnd | G | ![](media/wps32.png) ![](media/wps33.png) **The wiring of the servo** | Servo | Sensor expansion board | | ------ | ---------------------- | | Brown | G | | Red | 5V | | Orange | D9 | ![](media/wps34.jpg) **The wiring of controlling the IR receiver** ![](media/wps35.png) | Driver Board | Expansion Board | | ------------ | --------------- | | GND | G | | 5V | 5V | | S5 | A3 | **The wiring of controlling the RGB2812 LED** ![](media/wps36.png) | Driver Board | Expansion Board | | ------------ | --------------- | | GND | G | | 5V | 5V | | S4 | D10 | **The wiring of controlling motors and 7-color LEDs** ![](media/wps37.png) | Driver Board | Expansion Board | | ------------ | --------------- | | SCL | D2 | | SDA | D3 | | 5V | D5 | | GND | D4 | **The wiring of controlling the line-tracking sensor** ![](media/wps38.png) | Driver Board | Expansion Board | | ------------ | --------------- | | S1 | A2 | | S2 | A1 | | S3 | A0 | | 5V | 5V | | GND | G | **Connect the motors to the corresponding interface as shown in the figure** ![](media/wps39.png) **Installation of batteries** ![](media/wps40.jpg)